package com.ocom.nettyxf.vo;

import lombok.Data;

/**
 * @Description: 固件更新续传 (0xcc00)
 * @Author: 朱晖
 * @Date: 2022/10/24
 **/
@Data
public class MachUpdateVo {
	//响应结果
	String code = "0000" ;

	String jobId = "000000000000";

	//下传固件组号
	String packageNum = "0000";

	//每组的数据长度
	String packageContent = "0000";

	//固件数据包
	String data = "";


	public String getHexStr() throws Exception {
		return code + jobId + packageNum + packageContent +data;
	}

}
